

***This .do file contains the mdoels and information to reproduce the findings found in 
*found in the main document of Atkinson, Owsiak, Jacksona and Buehler's  paper "Sequencing the Steps to War."


***use this dataset to reproduce the results 

use "replication.dta", clear 










************************************************************************************************************************
*******model underlying the results in table 1, this will produce the overall model but not the direct and indirect effects #####
************************************************************************************************************************


 sem (new_icow -> war_onset, ) (new_icow -> new_spatial_riv, ) (new_icow -> icb_onset_any, ) (new_spatial_riv -> war_onset, ) (new_spatial_riv -> new_atop_ally, ) (new_atop_ally -> war_onset, ) (new_atop_ally -> new_counter_alliance, ) (new_counter_alliance -> war_onset, ) (new_counter_alliance -> new_ghr_war_adj_darmsrace, ) (new_ghr_war_adj_darmsrace -> war_onset, ) (new_ghr_war_adj_darmsrace -> new_atop_ally, ) (icb_onset_any -> war_onset, ) (icb_onset_any -> new_spatial_riv, ) (icb_onset_any -> new_atop_ally, ) (icb_onset_any -> new_counter_alliance, ) (icb_onset_any -> new_ghr_war_adj_darmsrace, ) (jtdem -> war_onset, ) (jtdem -> new_icow, ) (jtdem -> icb_onset_any, ) (majinvolve -> war_onset, ) (majinvolve -> icb_onset_any, ) (rel_pow_rat@jtdem -> war_onset, ) (rel_pow_rat -> new_icow, ) (rel_pow_rat -> new_spatial_riv, ) (rel_pow_rat -> new_atop_ally, ) (rel_pow_rat -> new_counter_alliance, ) (rel_pow_rat -> new_ghr_war_adj_darmsrace, ) (rel_pow_rat -> icb_onset_any, ) (lag_total_outside_atop_ally -> new_atop_ally, ) (lag_total_outside_atop_ally -> new_counter_alliance, ), cov( majinvolve*jtdem majinvolve*rel_pow_rat rel_pow_rat*jtdem lag_total_outside_atop_ally*jtdem lag_total_outside_atop_ally*majinvolve lag_total_outside_atop_ally*rel_pow_rat) nocapslatent


 
 
************************************************************************************************************************
****this command will reproduce the direct, indirect, and total effectst that are foudn in Table 1 of the main document 
************************************************************************************************************************


estat teffects



